﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{

    abstract class Robot
    {
        private string name;

        public Robot()
        { }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        public Robot(String name)
        {
            this.Name = name;

        }
        public abstract void Working();

    }
}
